package com;

import com.processor.StatisProcessor;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Component;

/**
 * Created by del on 16-5-12.
 */
@Component
public class Task {

    @Autowired
    private StatisProcessor statisProcessor;

    public void updateArticleStatus(){
        statisProcessor.execute();
    }
}
